import '@/assets/js/console'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/basic.css'
import NProgress from 'nprogress'
import ElementUI from 'element-ui'
import filters from './filters'
import directives from './directives'
import components from './components'
import middleware from './middleware'
import moment from 'moment'
import lodash from 'lodash'
import Decimal from 'decimal.js'
Vue.config.productionTip = false
NProgress.configure({
  showSpinner: false
})
Vue.prototype.$np = NProgress
Vue.prototype.$moment = moment
Vue.prototype.$lodash = lodash
Vue.prototype.$decimal = Decimal

Vue.use(filters)
Vue.use(directives)
Vue.use(components)
Vue.use(middleware)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
